package com.wt.ai.demo.tool;

import org.springframework.ai.tool.annotation.Tool;
import org.springframework.stereotype.Component;

import com.wt.ai.demo.domain.Weather;

@Component
public class WeatherTool {
    @Tool(description = "获取天气")
    public Weather getWeather() {
        return new Weather("23", "65");
    }
}
